-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] Add name parameter to tonic bias and add tonic biases to different sections #922
[MRG] Add name parameter to tonic bias and add tonic biases to different sections #922
Conversation
@katduecker can you add some unit tests? |
Yep, done! User now receives a warning when they don't define a section, and there will be an error if they define a section that's not part of the cell. I used a DeprecationWarning because Userwarnings don't seem to be raised on my computer so the test would fail. I mentioned this before that UserWarnings aren't raised by default on all systems. Somehow connection to NEURON timed out? Apart from that I'm ready for code review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some questions and suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few more tweaks @katduecker ...
Also don't forget to update whats_new.rst
!
Thanks Mainak, done! |
I enabled auto-merge once CIs pass. Thanks @katduecker ! 🥳 |
I didn't realize this wasn't merged yet. Just pulled changes from here and pushed again, but automerge seems to be disabled now? |
Head branch was pushed to by a user without write access
766cc06
to
0e0edf7
Compare
Co-authored-by: Mainak Jas <[email protected]>
Co-authored-by: Mainak Jas <[email protected]>
Co-authored-by: Mainak Jas <[email protected]>
Co-authored-by: Mainak Jas <[email protected]>
Co-authored-by: Mainak Jas <[email protected]>
0e0edf7
to
cf08aba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; see my comment here #922 (comment)
Sorry, maybe auto-merge was disabled because the reviewers had not approved the PR yet ... glad it's merged now! 🥳 |
This issue was opened by @gtdang as #768. I have added the option to name a tonic bias and define the section where the tonic bias should be applied.
I need this feature for some of the tuning that I want to do based on literature on patch clamp recordings. In my case, I want the L5 pyramidal neuron to behave differently for somatic and apical stimulation (and stimulating both at the same time).
I hope this is useful!